package com.sxkiler.demo.seata.service.at;

public interface ATAccountService {
    /**
     * 扣除余额
     *
     * @param userId 用户编号
     * @param amount  扣减金额
     * @throws Exception 失败时抛出异常
     */
    boolean reduceBalance(Long userId, Integer amount) throws Exception;
}
